package com.example.makerspace.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@EqualsAndHashCode(callSuper = true)
@TableName(value = "point_breakdown")
@Data
@Document(indexName = "point_breakdown")
public class PointBreakdownDO extends  BaseDO{
    @Field(name = "username", type = FieldType.Text, analyzer="ik_max_word")
    private  String username;
    @Field(name = "type", type = FieldType.Text, analyzer="ik_max_word")
    private  String type;
    @Field(name = "details", type = FieldType.Text, analyzer="ik_max_word")
    private  String details;
    @Field(name = "point", type = FieldType.Text, analyzer="ik_max_word")
    private  String point;
}
